package com.haiyu.manager.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haiyu.manager.pojo.UserAddressInfo;
import com.haiyu.manager.pojo.Worker;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Set;

@Data
public class UserInfoDTO {
    private String userNickname;
    private  Integer userId;

    private String buyerOpenid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime4;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime4;

    private int userInfoLabel;

    private String userHeadurl;

    private String userSex;

    private  String userCountry;

    private String userProvince;

    private String userCity;

    private String userPhone;
    private List<UserAddressInfo> userAddressInfos;
    private Set<OrderDTO> orders;
    private Worker worker;
    List<Worker> workers;
    private Integer isWorker;
}
